package vip.indo.event;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import org.springframework.context.ApplicationEvent;
import vip.indo.entity.User;

/**
 * 自定义事件
 * @Author: tianlianyin
 * @Date: 2024/11/28 16:59
 * @Descripition:
 */
@Getter
@Setter
public class MyEvent extends ApplicationEvent {
    private User user;
    public MyEvent(Object source,User user){
        super(source);
        this.user = user;
    }
}
